﻿var defaultTmp = null;
function LoadTmp() {
   defaultTmp = [{
        tmpName: "v_fin_CustomerExportTmp", tmpData: [
                       { sort: 1,  field_names: 'apply_dt', custom_name: '日期', tmp_id: id, },
                       { sort: 2, field_names: 'shipper_name', custom_name: '经营单位', tmp_id: id },
                       { sort: 3, field_names: 'cust_linkman', custom_name: '联系人', tmp_id: id },
                       { sort: 4, field_names: 'bus_no', custom_name: '业务号', tmp_id: id },
                       { sort: 5, field_names: 'apply_no', custom_name: '报关单', tmp_id: id },
                       { sort: 6, field_names: 'port_name', custom_name: '出口口岸', tmp_id: id },
                       { sort: 7, field_names: 'contract_no', custom_name: '合同协议号', tmp_id: id },
                       { sort: 8, field_names: 'start_country_name', custom_name: '运抵国', tmp_id: id },
                       { sort: 9, field_names: 'entrust_no', custom_name: '委托书号', tmp_id: id },
                       { sort: 10, field_names: 'goods_name', custom_name: '货名', tmp_id: id },
                       { sort: 11, field_names: 'property', custom_name: '性质', tmp_id: id },
                       { sort: 12, field_names: 'container_no', custom_name: '柜号', tmp_id: id },
                       { sort: 13,field_remark:"", field_names: 'book_no', custom_name: '订舱号', tmp_id: id },
                       { sort: 14, field_names: 'container20', custom_name: '柜数20', tmp_id: id, merge_name: '柜数' },
                       { sort: 15, field_names: 'container40', custom_name: '柜数40', tmp_id: id, merge_name: '柜数' },
                       { sort: 16, field_names: 'sg_apply_cost,gui_syj_cost,bh_cost,bhdl_cost,dd_cost,dddl_cost,bgxy_cost,ddxy_cost,yj_cost,rcdl_cost,kb_cost,ld_cost,tguandl_cost,tguidl_cost', custom_name: '首柜', tmp_id: id, merge_name: '报关费' },
                       { sort: 17, field_names: 'xg_apply_cost,gui_xyj_cost', custom_name: '续柜', tmp_id: id, merge_name: '报关费' },
                       { sort: 18, field_names: 'hgcg_cost', custom_name: '海关查柜费', tmp_id: id },
                       { sort: 19, field_names: 'sjdl_cost,szdl_cost', custom_name: '报检费', tmp_id: id },
                       { sort: 20, field_names: 'sjbj_cost,xzxd_cost', custom_name: '检疫费', tmp_id: id },
                       { sort: 21, field_names: 'sjcg_cost', custom_name: '商检查柜费', tmp_id: id },
                       { sort: 22, field_names: 'jkhd_cost,gb_cost,kd_cost,fc_cost,gc_cost,gcdl_cost,qtc_cost,wts_cost', custom_name: '代垫费', tmp_id: id },
                       { sort: 23, field_names: 'lihuo_cost', custom_name: '理货费', tmp_id: id },
                       { sort: 24, field_names: 'sjdd_cost,gsdl_cost,sgddl_cost,lhdl_cost,gjsb_cost,dl_cost,jcz_cost', custom_name: '其他', tmp_id: id },
                       { sort: 25, field_names: 'wharf_cost', custom_name: '港建费', tmp_id: id },
                       { sort: 26, field_names: 'gjsd_cost', custom_name: '港建税点', tmp_id: id },
                       { sort: 27, field_names: 'protect_cost', custom_name: '保安费', tmp_id: id }
        ]
    },
   {
       tmpName: "v_fin_CustomerExportContainerTmp", tmpData: [
                        { sort: 1, field_names: 'apply_dt', custom_name: '日期', tmp_id: id, },
                        { sort: 2, field_names: 'shipper_name', custom_name: '经营单位', tmp_id: id },
                        { sort: 3, field_names: 'cust_linkman', custom_name: '联系人', tmp_id: id },
                        { sort: 4, field_names: 'bus_no', custom_name: '业务号', tmp_id: id },
                        { sort: 5, field_names: 'apply_no', custom_name: '报关单', tmp_id: id },
                        { sort: 6, field_names: 'port_name', custom_name: '出口口岸', tmp_id: id },
                        { sort: 7, field_names: 'contract_no', custom_name: '合同协议号', tmp_id: id },
                        { sort: 8, field_names: 'start_country_name', custom_name: '运抵国', tmp_id: id },
                        { sort: 9, field_names: 'entrust_no', custom_name: '委托书号', tmp_id: id },
                        { sort: 10, field_names: 'goods_name', custom_name: '货名', tmp_id: id },
                        { sort: 11, field_names: 'property', custom_name: '性质', tmp_id: id },
                        { sort: 12, field_names: 'container_no', custom_name: '柜号', tmp_id: id },
                        { sort: 13, field_names: 'book_no', custom_name: '订舱号', tmp_id: id },
                        { sort: 14, field_names: 'container20', custom_name: '柜数20', tmp_id: id, merge_name: '柜数' },
                        { sort: 15, field_names: 'container40', custom_name: '柜数40', tmp_id: id, merge_name: '柜数' },
                        { sort: 16, field_names: 'apply_cost', custom_name: '报关费', tmp_id: id },
                        { sort: 18, field_names: 'hgcg_cost', custom_name: '海关查柜费', tmp_id: id },
                        { sort: 19, field_names: 'sjdl_cost,szdl_cost', custom_name: '报检费', tmp_id: id },
                        { sort: 20, field_names: 'sjbj_cost,xzxd_cost', custom_name: '检疫费', tmp_id: id },
                        { sort: 21, field_names: 'sjcg_cost', custom_name: '商检查柜费', tmp_id: id },
                        { sort: 22, field_names: 'jkhd_cost,gb_cost,kd_cost,fc_cost,gc_cost,gcdl_cost,qtc_cost,wts_cost', custom_name: '代垫费', tmp_id: id },
                        { sort: 23, field_names: 'lihuo_cost', custom_name: '理货费', tmp_id: id },
                        { sort: 24, field_names: 'sjdd_cost,gsdl_cost,sgddl_cost,lhdl_cost,gjsb_cost,dl_cost,jcz_cost', custom_name: '其他', tmp_id: id },
                        { sort: 25, field_names: 'wharf_cost', custom_name: '港建费', tmp_id: id },
                        { sort: 26, field_names: 'gjsd_cost', custom_name: '港建税点', tmp_id: id },
                        { sort: 27, field_names: 'protect_cost', custom_name: '保安费', tmp_id: id }
       ]
   }
    ];
}
